package com.etong.frame.directive;

import java.util.Map;

import com.etong.frame.directive.util.CommonStatus;

public interface Directive {

	public static class OutputFormat {
		public static final Integer ONE = 1;
		public static final Integer LIST = 2;
		public static final Integer INT = 3;
	}

	String getName();

	boolean isBatch();

	Directive buildBatch(Map<String, Object> vars);

	CommonStatus execute(Map<String, Object> vars);

	DirectiveConfig getDirectiveConfig();
}
